package com.frejoys.common.vo.app;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

// 用户推广表实体类
@Data
public class UserLevelVo{

    @Schema(type = "Integer", name = "id", description = "id", required = true, defaultValue = "1")
    private Integer id;

    @Schema(type = "Long", name = "userId", description = "用户id", required = true, defaultValue = "347634044899328")
    private Long userId;

    @Schema(type = "String", name = "nickname", description = "昵称", required = true, defaultValue = "马小贱")
    private String nickname;

    @Schema(type = "String", name = "avatar", description = "头像", required = true, defaultValue = "avatar.png")
    private String avatar;

    @Schema(type = "Integer", name = "role", description = "角色：0普通用户，1达人，2代理人，4商家，512管理员", required = true, defaultValue = "1")
    private Integer role;

    @Schema(type = "Integer", name = "createTime", description = "创建时间", required = true, defaultValue = "1")
    private Integer createTime;

    @Schema(type = "Integer", name = "childUserCount", description = "推广人数", required = true, defaultValue = "1")
    private Integer childUserCount;

    @Schema(type = "BigDecimal", name = "childUserMoney", description = "推广金额", required = true, defaultValue = "1")
    private BigDecimal childUserMoney;
}
